package rsb21424yhc.d1102;

public class Test {
    public static void main(String[] args) {
        Cat c=new Cat();
        Dog d=new Dog();
        c.eat();
        System.out.println(c.name);
        Dog dog=new Dog();
        dog.eat();
        System.out.println(dog.name);

    }
}
